<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		
		window.onload = function () {
			img = document.getElementById('img');

			img.onclick = function () {
				// img.src= "https://ss2.baidu.com/6ONYsjip0QIZ8tyhnq/it/u=3888538331,1697710553&fm=58";
				// alert(img.getAttribute('data'));
				// img.setAttribute("data",'学并思');
			}
		}
	</script>
</head>
<body>
	<img src="https://ss0.bdstatic.com/5aV1bjqh_Q23odCf/static/superman/img/logo_top_86d58ae1.png" id="img" alt="8888" data='xuebingsi' class="box">
</body>
</html>